export default {
  fid: [{ required: true, message: "工艺名称不能为空", trigger: "blur" }],
  name: [{ required: true, message: "成品名称不能为空", trigger: "blur" }],
  process_num: [
    { required: true, message: "成品数量不能为空", trigger: "blur" },
    {
      pattern: /^(\d+\.?)?\d{0,2}$/,
      message: "请输入整数和两位小数",
      trigger: "blur"
    }
  ]
};
